package com.stars.entity.system;

import com.stars.common.base.BaseUUID;
import lombok.Data;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Table;

/**
 * @Title: 系统日志实体
 * @author dj
 * @date 2019-10-09 19:31:24
 * @version V1.0
 *
 */
@Data
@Table(name = "SYSTEM_OPERATION_LOG")
public class OperationLogEntity extends BaseUUID {

	/**系统id*/
    @Column(name = "APP_ID")
	private String appId;
	/**请求地址*/
	private String url;
	/**日志等级*/
	private int level;
	/**被操作的对象*/
    @Column(name = "OPERATION_UNIT")
	private String operationUnit;
	/**日志时间*/
    @Column(name = "RUN_TIME")
	private Long runTime;
	/**方法名*/
	private String method;
	/**日志描述*/
    @Column(name = "DESCRIBE_LOG")
	private String describeLog;
	/**创建时间*/
    @Column(name = "CREATE_DATE")
	private Date createDate;
	/**参数*/
	private String args;
	/**ip地址*/
    @Column(name = "SYS_IP")
	private String sysIp;
	/**方法返回值*/
    @Column(name = "RETURN_VALUE")
	private String returnValue;
	/**操作人id*/
    @Column(name = "CREATE_ID")
	private String createId;
	/**操作类型*/
    @Column(name = "OPERATION_TYPE")
	private String operationType;
	/**操作人*/
    @Column(name = "CREATE_NAME")
	private String createName;
	/**系统名称*/
    @Column(name = "APP_NAME")
	private String appName;


}